#pragma once
#include "mygamewindow.h"
#include "Sprite.h"
#include "string"
using namespace std;

enum RadioButtonState
{
	RBS_UnSelected = 0,
	RBS_MouseDown,
	RBS_Selected,
	RBS_Disable
};

class CMyGameRadioButton :public CMyGameWindow
{
protected:
	RadioButtonState m_rbsState;
	CSprite m_sprButtonBmp;

public:
	CMyGameRadioButton(void);
	~CMyGameRadioButton(void);

	void LoadRes(LPCSTR szFileName);
	void SetButtonEnable(BOOL bEnable);

	void Update();
	void Draw(HDC hDC);

	BOOL LBtnDown(int x,int y);
	BOOL LBtnUp(int x,int y);
	BOOL MouseMove(int x,int y);
};
